package com.igeek.oa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author author
 * @since 2024-08-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("employee")
@ApiModel(value="Employee对象", description="员工表")
public class Employee implements Serializable {
    public static final String Send_MEss = "001";

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工编号")
    @TableId(value = "e_id", type = IdType.INPUT)
    private String eId;

    @ApiModelProperty(value = "员工账号")
    private String eName;

    @ApiModelProperty(value = "员工真实姓名")
    private String realName;

    @ApiModelProperty(value = "员工密码")
    private String ePsd;

    @ApiModelProperty(value = "员工年龄")
    private Integer eAge;

    @ApiModelProperty(value = "入职时间")
    private LocalDateTime entryTime;

    @ApiModelProperty(value = "本月打卡次数")
    private Integer checkNum;

    @ApiModelProperty(value = "是否全勤")
    private String allCheck;

    @ApiModelProperty(value = "职位编号")
    private String pId;

    @ApiModelProperty(value = "部门编号")
    private String dId;

    @ApiModelProperty(value = "员工工资")
    private Long salary;


}
